package com.fifth.user.feign;

import com.fifth.common.pojo.dto.CommonResult;
import com.fifth.common.pojo.entity.Comment;
import com.fifth.common.pojo.entity.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "mrcai-order")
public interface OrderFeign {
    @GetMapping("api/order/addcomment/{code}/{goodsid}")
    public Order addComment(@PathVariable String code,@PathVariable String goodsid);

    @PostMapping("api/order/updateOrderCommentStatus/{goodsid}/{uid}")
    public Integer updateOrderCommentStatus(@PathVariable String goodsid,@PathVariable String uid);
}
